package com.neu.carbon.mes.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PlanMapper {
    @Select("select serial_no from mes_product_plan where id = #{planId}")
    String selectNoById(Long planId);


    @Select("select material_batch_no from mes_product_check where product_plan_id = #{planId}")
    List selectBatchNoByMaterialId(Long planId);
}
